-
Notifications
You must be signed in to change notification settings - Fork 905
pass meter provider to avoid using the global otel instance #7475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass meter provider to avoid using the global otel instance #7475
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7475 +/- ##
============================================
+ Coverage 89.82% 90.00% +0.18%
- Complexity 6999 7084 +85
============================================
Files 798 803 +5
Lines 21199 21421 +222
Branches 2055 2088 +33
============================================
+ Hits 19042 19281 +239
+ Misses 1496 1478 -18
- Partials 661 662 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@jack-berg please have a look 😄 |
.../src/main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/SpanProcessorFactory.java
Show resolved
Hide resolved
.../main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/DeclarativeConfigContext.java
Show resolved
Hide resolved
.../main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/DeclarativeConfigContext.java
Outdated
Show resolved
Hide resolved
...a/io/opentelemetry/sdk/extension/incubator/fileconfig/OpenTelemetryConfigurationFactory.java
Show resolved
Hide resolved
...a/io/opentelemetry/sdk/extension/incubator/fileconfig/OpenTelemetryConfigurationFactory.java
Show resolved
Hide resolved
@robsunday @jkwatson please check again |
1 similar comment
@robsunday @jkwatson please check again |
.../main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/DeclarativeConfigContext.java
Outdated
Show resolved
Hide resolved
.../main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/DeclarativeConfigContext.java
Show resolved
Hide resolved
@jkwatson |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! And, if Jack hates this, we still can change it, since it's not stable yet.
👍 |
Fixes #7435